import { Layout } from '@fl/utils/routerHelper'

const order: AppRouteRecordRaw = {
    children: [
        {
            component: () => import('@/pages/order-record/order-query/index.vue'),
            meta: {
                title: '订单查询',
            },
            name: 'anjutong-order-order-record-order-query',
            path: 'order-query',
        },
        {
            component: () => import('@/pages/order-record/order-query/components/order-table/order-table-detail.vue'),
            meta: {
                activeMenu: '/member-center/order/order-query',
                hidden: true,
                noTagsView: true,
                title: '订单详情',
            },
            name: 'anjutong-order-order-record-order-query-detail',
            path: 'order-table-detail',
        },
    ],
    component: Layout,
    meta: {
        alwaysShow: true,
        icon: 'i-pepicons-pencil:file',
        title: '订单管理',
    },
    name: 'anjutong-order',
    path: 'order',
}

export default order
